package operation;

import Book.BookList;

/**
 * Created with Intellij IDEA.
 * Description:
 * User: 33013
 * Date: 2023-02-28
 * Time: 12:37
 */
public class DisplayOperation implements IOperation{
    @Override
    public void work(BookList bookList) {
        int pos = bookList.capacity;
        for (int i = 0; i < pos; i++) {
            System.out.println(bookList.bookslist[i]);
        }
    }
}
